package com.qf.spring.service.impl;

import com.qf.spring.dao.UserDao;
import com.qf.spring.dao.impl.UserDaoImpl;
import com.qf.spring.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void adder() {
        System.out.println("serviceAdder执行啦---------------");
        userDao.adder();
    }
}
